--- title: RMarkdown Test Post author: Bryan Carlson date: '2018-09-04' slug: rmarkdown-test-post categories: [] tags: [] header: caption: '' image: '' ---
Load in the shapefile and map it
df <- st_read("../../static/files/gis/wa_eco_l4/wa_eco_l4.shp")
## Reading layer `wa_eco_l4' from data source `C:\Users\brcarlson\Desktop\wanderecoregions-site\static\files\gis\wa_eco_l4\wa_eco_l4.shp' using driver `ESRI Shapefile'
## Simple feature collection with 330 features and 19 fields
## geometry type: POLYGON
## dimension: XY
## bbox: xmin: -2138178 ymin: 2734187 xmax: -1545552 ymax: 3172577
## epsg (SRID): NA
## proj4string: +proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0 +y_0=0 +datum=NAD83 +units=m +no_defs
tmap_mode("view")
## tmap mode set to interactive viewing
tm_shape(df) + tm_polygons(alpha = 0.6)
Done!